﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="xem_nhanxet_admin.ascx.cs" Inherits="TDT_Project.Controller.xem_nhanxet_admin" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../css/Telerik.css" rel="stylesheet" type="text/css" />
    <%--<link rel="stylesheet" type="text/css" href="../css/style.css">--%>
</head>
<style type="text/css">
    .style1 {
        color:Blue;
    }
    .style2
    {
        width: 600px;
    }
    .style3
    {
        text-align: left;
    }
    .style4
    {
        width: 91px;
    }
    .style5
    {
        width: 91px;
        height: 35px;
    }
    .style7
    {
        text-align: left;
        height: 35px;
    }
    .style8
    {
        height: 35px;
        width: 179px;
    }
    .style9
    {
        width: 179px;
    }
    .style11
    {
        width: 100%;
    }
    .UpdateProgressContent
            {
                padding: 40px;
                border: 1px dashed #C0C0C0;
                background-color: #FFFFFF;
                width: 200px;
                text-align: center;
                vertical-align: bottom;
                z-index: 1001;
                top: 40%;
                margin: 0px;
                margin-left: -141px;
                position: absolute;
            }
            
            .NoUnderLine
            {
                text-decoration: none !important;
            }
            .rcbSlide
            {
                z-index: 8001 !important;
            }
            .RadGrid_Default .rgHeader, .RadGrid_Default th.rgResizeCol
            {
                /*background: none !important;*/
            }
            /*.tdItem
    {
        padding: 0px !important;
    }*/
            .gridWiewHeader
            {
                background-color: #2D79F8 !important;
                padding: 0 !important;
            }
            .rgHeader gridWiewHeader
            {
                padding: 0 !important;
            }
            .gridWiew td
            {
                border: none;
                border-bottom: 1px solid #96CAFF !important;
            }
            .gridWiewHeader tr
            {
                height: 5px !important;
            }
    </style>
  <%--  <telerik:RadWindowManager ID="RWM" runat="server"></telerik:RadWindowManager>--%>
 
    <asp:UpdatePanel  ID="UP1" runat="server">
<ContentTemplate>
<p></p>
<h4 class="style1">Thông tin nhận xét ý kiến của phụ huynh học sinh và giáo viên</h4>
<p></p>
<hr style="border:1px thin"/>
<p></p>

<div style="padding-left:200px;" >

    <table cellpadding="0" cellspacing="0" class="style2">
        <tr>
            <td class="style5">
                <strong>Niên học</strong></td>
            <td class="style8">               
                
                        <telerik:RadComboBox ID="cbo_nienhoc" runat="server" DropDownWidth="200px" 
                            Skin="Vista" Width="200px" 
                            OnSelectedIndexChanged="cbo_nienhoc_SelectedIndexChanged" 
                            AutoPostBack="True" >
                        </telerik:RadComboBox>
                </td>
            <td style="text-align: right;padding-right:3px;">
                <strong>Học kỳ</strong></td>
            <td class="style7">
            
                <asp:RadioButtonList ID="rdo_HK" runat="server" AutoPostBack="true"
                    RepeatDirection="Horizontal" 
                    onselectedindexchanged="rdo_HK_SelectedIndexChanged">
                    <asp:ListItem Selected="True">HK1</asp:ListItem>
                    <asp:ListItem>HK2</asp:ListItem>
                </asp:RadioButtonList>
                </td>
        </tr>
        <tr>
            <td class="style4">
                <strong>Lớp</strong></td>
            <td class="style9">               
                <telerik:RadComboBox ID="cbo_lop" runat="server" 
                    DropDownWidth="200px" Skin="Vista" Width="200px" 
                    OnSelectedIndexChanged="cbo_lop_SelectedIndexChanged" AutoPostBack="true">
                </telerik:RadComboBox>             
            </td>
            <td style="text-align:right;padding-right:3px;">
               <%-- <strong>Học sinh</strong></td>--%>
            <td class="style3">
           
                <%--<telerik:RadComboBox ID="cbo_hocsinh" runat="server" 
                    DropDownWidth="200px" Skin="Vista" Width="200px" AutoPostBack="true">
                </telerik:RadComboBox>--%>
            </td>
        </tr>
    </table>

</div>
<div>
    <table class="style11">
    <tr><td colspan="2" style="text-align: center;padding-top:5px">
                           <%--<telerik:RadButton runat="server" ValidationGroup="p" ID="btn_gopy_PH" CssClass="RadButton"
                            ButtonType="ToggleButton" HoveredCssClass="RadButtonHover" AutoPostBack="true"
                           Text="Tìm" Skin="Telerik" Width="105px" Height="30px" onclick="btn_gopy_PH_Click" 
                            >
                        </telerik:RadButton>--%>
                    </td></tr>
        <tr>
            <td style="text-align: right">
                <u><i>Ý kiến của giáo viên chủ nhiệm:</i></u> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</td>
            <td>
                &nbsp; &nbsp; <u><i>Ý kiến của phụ huynh học sinh:</i></u> </td>
        </tr>
        
        </tr>
        <tr>
            <td style="padding-left:10px;"valign="top">
                <telerik:RadGrid ID="rid_gv" runat="server" AlternatingRowStyle-CssClass="alt" 
                    AutoGenerateColumns="False" CellSpacing="0" GridLines="None" 
                    HeaderStyle-CssClass="gridWiewHeader" PagerStyle-CssClass="gridWiewPaging" 
                    PagerStyle-HorizontalAlign="Right" PageSize="50" Width="430px">
                    <HeaderStyle CssClass="gridWiewHeader" />
                    <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                     <ClientSettings>
                                <Selecting AllowRowSelect="false" />
                                <Scrolling AllowScroll="True" ScrollHeight="300" UseStaticHeaders="True" SaveScrollPosition="True"  />
                            </ClientSettings>
                    <MasterTableView DataKeyNames="STT" 
                        NoMasterRecordsText="Không tìm thấy dữ liệu." TableLayout="Fixed">
                        <CommandItemSettings ExportToPdfText="Export to PDF" />
                        <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" 
                            Visible="True">
                        </RowIndicatorColumn>
                        <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" 
                            Visible="True">
                        </ExpandCollapseColumn>
                        <Columns>
                            <%--  <telerik:GridBoundColumn DataField="STT" ItemStyle-HorizontalAlign="Center"
                            HeaderStyle-HorizontalAlign="Center" HeaderText="STT" UniqueName="STT"
                            ReadOnly="True" HeaderStyle-Width="30">
                            <ItemStyle HorizontalAlign="Left" />
                        </telerik:GridBoundColumn>   --%>
                         <telerik:GridBoundColumn DataField="STT" 
                                HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="30" 
                                HeaderText="STT" ItemStyle-HorizontalAlign="Center" ReadOnly="True" 
                                UniqueName="STT">
                                <ItemStyle HorizontalAlign="Center" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="TenHS" 
                                HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="150" 
                                HeaderText="Tên Học Sinh" ItemStyle-HorizontalAlign="Center" ReadOnly="True" 
                                UniqueName="TenHS">
                                <ItemStyle HorizontalAlign="Left" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="NoiDung" 
                                HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="230" 
                                HeaderText="Nội dung" ItemStyle-HorizontalAlign="Center" ReadOnly="True" 
                                UniqueName="NoiDung">
                                <ItemStyle HorizontalAlign="Left" />
                            </telerik:GridBoundColumn>
                        </Columns>
                        <EditFormSettings>
                            <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                            </EditColumn>
                        </EditFormSettings>
                    </MasterTableView>
                    <ClientSettings>
                        <Selecting AllowRowSelect="false" />
                    </ClientSettings>
                    <FilterMenu EnableImageSprites="False">
                    </FilterMenu>
                </telerik:RadGrid>
            </td>
            <td style="padding-left:0px;" valign ="top">
                <telerik:RadGrid ID="rid_ph" runat="server" AlternatingRowStyle-CssClass="alt" 
                    AutoGenerateColumns="False" CellSpacing="0" GridLines="None" 
                    HeaderStyle-CssClass="gridWiewHeader" PagerStyle-CssClass="gridWiewPaging"  OnItemCommand="rid_ph_ItemCommand"
                    PagerStyle-HorizontalAlign="Right" PageSize="50" Width="480px">
                    <HeaderStyle CssClass="gridWiewHeader" />
                    <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                      <ClientSettings>
                                <Selecting AllowRowSelect="false" />
                                <Scrolling AllowScroll="True" ScrollHeight="300" UseStaticHeaders="True" SaveScrollPosition="True"  />
                            </ClientSettings>
                    <MasterTableView DataKeyNames="Nhan_Xet_ID" 
                        NoMasterRecordsText="Không tìm thấy dữ liệu." TableLayout="Fixed">
                        <CommandItemSettings ExportToPdfText="Export to PDF" />
                        <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" 
                            Visible="True">
                        </RowIndicatorColumn>
                        <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" 
                            Visible="True">
                        </ExpandCollapseColumn>
                        <Columns>
                            <%--<telerik:GridBoundColumn DataField="STT" ItemStyle-HorizontalAlign="Center"
                            HeaderStyle-HorizontalAlign="Center" HeaderText="STT" UniqueName="STT"
                            ReadOnly="True" HeaderStyle-Width="30">
                            <ItemStyle HorizontalAlign="Left" />
                        </telerik:GridBoundColumn>   --%>
                         <telerik:GridBoundColumn DataField="STT" 
                                HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="30" 
                                HeaderText="STT" ItemStyle-HorizontalAlign="Center" ReadOnly="True" 
                                UniqueName="STT">
                                <ItemStyle HorizontalAlign="Center" />
                            </telerik:GridBoundColumn>
                             <telerik:GridBoundColumn DataField="Nhan_Xet_ID" 
                                HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="30" 
                                HeaderText="Nhan_Xet_ID" ItemStyle-HorizontalAlign="Center" ReadOnly="True" Display="false"
                                UniqueName="Nhan_Xet_ID">
                                <ItemStyle HorizontalAlign="Center" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="TenHS" 
                                HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="120" 
                                HeaderText="Tên Học Sinh" ItemStyle-HorizontalAlign="Center" ReadOnly="True" 
                                UniqueName="TenHS">
                                <ItemStyle HorizontalAlign="Left" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="Ngay_Gui" 
                                HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="120" 
                                HeaderText="Ngày góp ý" ItemStyle-HorizontalAlign="Center" ReadOnly="True" 
                                UniqueName="Ngay_Gui">
                                <ItemStyle HorizontalAlign="Left" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="NoiDung" 
                                HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="175" 
                                HeaderText="Nội dung" ItemStyle-HorizontalAlign="Center" ReadOnly="True" 
                                UniqueName="NoiDung">
                                <ItemStyle HorizontalAlign="Left" />
                            </telerik:GridBoundColumn>
                             <telerik:GridTemplateColumn HeaderText="Xóa" HeaderButtonType="TextButton" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:Button ID="lnkEditDel" CssClass="btnX"  Width='19px' Height='19px' CommandArgument='<%# Eval("Nhan_Xet_ID") %>' OnClientClick="javascript:return confirm('Bạn có chắc muốn xóa tin này không?');"
                                            CommandName="EditDelItem" runat="server"></asp:Button>
                                    </ItemTemplate>
                                    <HeaderStyle Width="30px" />
                                    <ItemStyle HorizontalAlign="Center" />
                                </telerik:GridTemplateColumn>
                        </Columns>
                        <EditFormSettings>
                            <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                            </EditColumn>
                        </EditFormSettings>
                    </MasterTableView>
                    <ClientSettings>
                        <Selecting AllowRowSelect="false" />
                    </ClientSettings>
                    <FilterMenu EnableImageSprites="False">
                    </FilterMenu>
                </telerik:RadGrid>
            </td>
        </tr>
    </table>
</div>
</ContentTemplate>
</asp:UpdatePanel>
